What is the rank of a tensor